package com.qisu.dao;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.mapper.BaseMapper;

import com.qisu.model.vo.Account;

/**
 * 
 * @author li
 *
 */
public interface AccountDao extends BaseMapper<Account> {

	
	void updateAccount(@Param("userId")String userId, @Param("actualPay")int actualPay);

	void insertAccountRecord(@Param("userId")String userId, @Param("orderId")String orderId,  @Param("actualPay")int actualPay);

	void setUserAccount(@Param("userId")String userId);
	
	void setAgentAccount(@Param("agentId")String agentId, @Param("refundMoney")int refundMoney);

	void insertAgentRecord(@Param("orderId")String orderId, @Param("refundMoney")int refundMoney);

	
}
